#ifndef __PWM_H
#define __PWM_H

#include "stm32f10x.h"                  // Device header

typedef enum
{
  MotorL,
  MotorR,
  MotorALL
}MOTOR;

void PWM_Init(void);
void Set_Pwm(MOTOR Motor,int16_t Compare);
void Motor(int16_t Speed_l,int16_t Speed_r);
#endif
